package cn.yunyichina.provider.report.dao;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Lullaby on 2017/3/10.
 */
public interface BaseMapper<T extends Serializable> {

    T get(T clazz);

    int insert(T clazz);

    int delete(T clazz);

    int update(T clazz);

    List<T> list(T clazz);

    long count(T clazz);

}
